#ifndef __MAKE_CODE_H__
#define __MAKE_CODE_H__
#include <stdio.h>
#include <Windows.h>

class CMakeCode  
{
public:
	CMakeCode();
	virtual ~CMakeCode();
	void    EnCrypt(LPSTR buffer,int len);	
	void	DeCrypt(LPSTR buffer,int len);
	DWORD	StaticCrc32(BYTE* pBuf,int dwLen,DWORD &dwCrc32);

private:
	inline void CalcCrc32(const BYTE byte, DWORD &dwCrc32);
};

#endif
